﻿<%@ Page Title="" Language="C#" MasterPageFile="~/klagesystem.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="KlageSystem.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script lang="javascript" type="text/javascript">
        $().ready(function () {
            $(".sagerOverview tr:odd").addClass("oddRow");
            $(".sagerOverview tr").hover(function () { $(this).addClass("hover"); }, function () { $(this).removeClass("hover"); });
            $(".tablesorter").tablesorter();
        });
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="contentBox">
        <h1>Ventende sager</h1>
        <asp:Table ID="tblVentende" runat="server"></asp:Table>
    </div>
    <div class="contentBox">
        <h1>Igangværende sager</h1>
        <asp:Table ID="tblIgang" runat="server"></asp:Table>
    </div>
    <div class="contentBox">
        <h1>Afsluttede sager</h1>
        <asp:Table ID="tblAfsluttede" runat="server"></asp:Table>
    </div>
    <% if (Session["user"].ToString() == "Administrator")
       { %>
    <div class="contentBox">
        <h1>Sags administration</h1>
        <table>
            <tr>
                <th>Sagsnr:</th>
                <td><asp:TextBox ID="txtSagsnr" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="btnUnDelete" runat="server" OnClick="btnUnDelete_Click" Text="Genåbn" /></td>
            </tr>
        </table>
        
    </div>
    <%} %>
</asp:Content>
